﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;

namespace BUS
{
    public class ThanhPhoBUS
    {
        private ThanhPhoDAO _dDAO;
        public ThanhPhoBUS()
        {
            _dDAO = new ThanhPhoDAO();
        }

        public bool Them(THANHPHO _THANHPHO)
        {
            return _dDAO.Them(_THANHPHO);
        }
        public bool Xoa(THANHPHO _THANHPHO)
        {
            return _dDAO.Xoa(_THANHPHO);
        }
        public bool Sua(THANHPHO _THANHPHO)
        {
            return _dDAO.Sua(_THANHPHO);
        }
        public THANHPHO TimTen(String _name)
        {
            return _dDAO.TimTen(_name);
        }
        public THANHPHO ChiTiet(String _id)
        {
            return _dDAO.LayID(_id);
        }
        public List<THANHPHO> LietKe()
        {
            return _dDAO.LietKe();
        }     
    }
}
